// src/router/index.ts
import { createRouter, createWebHistory, RouteRecordRaw  } from 'vue-router'
import SelectFile from '../views/SelectFile.vue'
import Camera from '../views/Camera.vue'
import FileList from '../views/FileList.vue'
const routes: Array<RouteRecordRaw> = [

  {
    path: '/solutions',
    name: 'SolutionSelect',
    component: SelectFile,
  },
  {
    path: '/filelist',
    name: 'FileList',
    component: FileList,
  },
  {
	path: '/camera',
	name: 'Camera',
	component: Camera,
  }
]

const router = createRouter({
  history: createWebHistory (import.meta.env.BASE_URL),
  routes
})

export default router